﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    /// <summary>
    /// 产品BOM组成表（物料产品附加表）
    /// </summary>
    public class ProductBom
    {
        /// <summary>
        /// 流水号
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 物料产品ID
        /// </summary>
        public long ItemId { get; set; }

        /// <summary>
        /// BOM物料ID
        /// </summary>
        public long BomItemId { get; set; }

        /// <summary>
        /// BOM物料编码
        /// </summary>
        public string BomItemCode { get; set; }

        /// <summary>
        /// BOM物料名称
        /// </summary>
        public string BomItemName { get; set; }

        /// <summary>
        /// BOM物料规格
        /// </summary>
        public string BomItemSpec { get; set; }

        /// <summary>
        /// BOM物料单位
        /// </summary>
        public string UnitOfMeasure { get; set; }

        /// <summary>
        /// 产品物料标识
        /// </summary>
        public string ItemOrProduct { get; set; }

        /// <summary>
        /// 物料使用比例
        /// </summary>
        public decimal? Quantity { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public char EnableFlag { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }


    }
}
